﻿using SqlSugar;

namespace ProjectScheduling.models
{
    /// <summary>
    /// 排期用户信息
    /// </summary>
    [SugarTable("PreparedStaff")]
    public class PreparedStaff : BClass
    {
        /// <summary>
        /// 排期ID
        /// </summary>
        public int PreparedId { get; set; }
        /// <summary>
        /// 员工ID
        /// </summary>
        public int StaffId { get; set; }
        [SugarColumn(IsJson = true)]
        public PrepardStaffContent? Content { get; set; }
        public int Days { get; set; }
    }
    public class PrepardStaffContent
    {
        public int ProjectId { get; set; }
        public string? ProjectName { get; set; }
        public string? StaffName { get; set; }
        public DateTime FromDate { get; set; }
        public DateTime ToDate { get; set; }
        
    }
}
